class Api {
  static String baseUrl = "http://154.91.3.148:8083/"; //测试
  //static String baseUrl = "http://112.29.173.77:8083/"; //迁移线上

  static int VERSION = 323; //版本号线上322
  ///-----------------更新----------------
  static String USER_VERSION = "user/version";

  ///-----------------我的邀请----------------
  //获取
  static String USER_GETINVITE = "user/getinvite";
  static String USER_INVITEINCOME = "user/inviteincome";

  //获取推手海报
  static String USER_ACTIVITYPIC = "user/activitypic";

  //推手活动
  static String USER_TSACTIVITY = "user/tsactivity";

  ///-----------------任务流程----------------
  //任务列表
  static String TASK_GETLIST = "task/getlist";

  //任务详情
  static String TASK_TASKDETAIL = "task/taskdetail";

  //申请任务
  static String TASK_APPLYTASK = "task/applytask";

  //任务步骤的提交
  static String TASK_DOTASK = "task/dotask";

  //数据核对
  static String TASK_CHECK = "task/check";

  //任务步骤
  static String TASK_DETAIL = "task/detail";

  //取消任务
  static String TASK_CANCELTASK = "task/canceltask";

  //取消任务
  static String TASK_TESTACCOUNT = "task/testaccount";

  ///-----------------我的任务----------------
  //我的任务列表
  static String TASK_GETMYLIST = "task/getmylist";

  ///-----------------电商账号----------------
  //已添加账号列表
  static String USER_GETACCOUNTLIST = "user/getaccountlist";

  //可添加平台信息
  static String USER_GETPLATLIST = "user/getplatlist";

  //获取平台需要上传的字段 -- 三个平台需要字段不同
  static String USER_GETPLATACCOUNTARGS = "user/getplataccountargs";

  //验证 用户名是否存在、合法
  static String USER_EXAMACCOUNT = "user/examaccount";

  //获取用户标签
  static String USER_USERTAGS = "user/usertags";

  //提交用户数据
  static String USER_SAVEPLATACCOUNT = "user/saveplataccount";

  //删除账号
  static String USER_DELUSERACCOUNT = "user/deluseraccount";

  ///------------------申诉-------------------
  //申诉列表
  static String USER_APPLY = "user/apply";

  //申诉详情
  static String USER_GETAPPLY = "user/getapply";

  //申诉类型
  static String USER_APPLYTYPE = "user/applytype";

  //上传图片
  static String USER_UPLODIMG = "user/uplodimg";

  //提交
  static String USER_ADDAPPLY = "user/addapply";

  ///----------------金币、余额---------------
  //账户信息
  static String USER_ACCOUNT = "user/getaccount";

  //获取手续费
  static String USER_USERTX = "user/usertx";

  //提现
  static String USER_RECHARGE = "user/recharge";

//兑换
  static String USER_WITHDRAW = "user/withdraw";

  //流水
  static String USER_MONEYLOGLIST = "user/moneyloglist";

  ///-------------------消息---------------------
  //列表
  static String MESSAGE_LIST = "user/message";

  //详情
  static String MESSAGE_DETAIL = "user/messagedetail";

  ///----------------首页------------------
  //首页数据
  static String HOME = "user/setting";

  /// -------------用户模块注册登录----------------
  //登录
  static String LOGIN = "user/login";

  //获取验证码
  static String GETSMSCODE = "user/getsmscode";

  //验证验证码
  static String CONFIRMSMSCODE = "user/confirmsmscode";

  //使用验证码登录
  static String LOGINBYSMS = "user/loginbysms";

  //使用验证码登录
  static String SETPWD = "user/setpwd";

  //忘记密码重置
  static String RESETPWD = "user/resetpwd";

  //设置邀请码
  static String SETINVITECODE = "user/setinvitecode";

  /// -------------用户模块注册登录----------------
  //升级为vip
  static String UP_VIP = "user/upvip";

  //会员中心
  static String USER_RESPECT = "user/respect";

  //个人中心
  static String USER_INFOR = "user/getuserinfo";

  //修改头像
  static String USER_PICADD = "user/picadd";

  //用户账号信息是否完善
  static String USER_NOTINFORWS = "user/notinforws";

  //获取可添加的银行名称
  static String USER_GETALLBANK = "user/getallbank";

  //获取用户实名认证信息
  static String USER_USERINFORLIST = "user/userinforlist";

  //添加用户信息
  static String USER_USERINFORADD = "user/userinforadd";

  //推手数据
  static String USER_TSINVIT = "user/tsinvit";

  //推手数据--邀请人列表
  static String USER_TSPROFIT = "user/tsprofit";

  //添加用户位置
  static String USER_ADDLOCATION = "user/addlocation";

  //获取用户账号信息
  static String USER_IMPERFECT = "user/imperfect";

  /**
   * 返回相关
   * */

  ///成功
  static int SUCCESS_CODE = 200;

  ///失败
  static int ERROR_CODE = 400;
  static int ERROR_CODE_0 = 0;

  ///nothing
  static String ERR_NOTHING = "请求失败，请稍后再试";
  static String ERR_TIME_OUT = "请求超时，请稍后再试";
  static String ERR_CONNECTION_FAILED = "无法连接到服务器，请稍后再试";
  static String ERR_UNKNOW = "未知错误";
  static String ERR_DATA = "数据异常,请联系客服";
  static String ERR_401 = "登录过期，请从新登录"; //未经授权
}
